<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JavaScript Chrome调试环境</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 40px;
            line-height: 1.6;
        }
        h1 {
            color: #2c3e50;
        }
        .instruction {
            background-color: #f5f5f5;
            padding: 20px;
            border-radius: 5px;
            margin: 20px 0;
        }
        code {
            background-color: #eee;
            padding: 2px 5px;
            border-radius: 3px;
            font-family: Consolas, monospace;
        }
        pre {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 5px;
            overflow-x: auto;
        }
    </style>
</head>
<body>
    <h1>JavaScript Chrome调试环境</h1>
    <p>这是一个用于在Chrome浏览器中调试JavaScript代码的测试页面。</p>
    
    <div class="instruction">
        <h2>调试方法：</h2>
        <ol>
            <li>打开任意JavaScript文件</li>
            <li>按下 <code>F5</code> 键</li>
            <li>选择 <code>Launch Chrome (本地文件)</code> 或 <code>Launch Chrome (HTML入口)</code></li>
            <li>在代码中设置断点进行调试</li>
        </ol>
    </div>
    
    <h2>控制台输出</h2>
    <p>请查看Chrome开发者工具的控制台面板以查看JavaScript输出。</p>
    
    <script src="debug-test.js"></script>
</body>
</html>